<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
    <base href="<%=basePath%>">
    <title>优标检测网</title>
    <!-- 浏览器上显示title 图标 icon图标 -->
	<link type="image/x-icon" rel="icon" href="<%=basePath %>resource/img/minilogo.png">

	<!-- 如果想让图标出现在收藏夹中，就：  -->
	<link type="image/x-icon" rel="shortcut icon" href="<%=basePath %>resource/img/minilogo.png">
	<link type="image/x-icon" rel="bookmark" href="<%=basePath %>resource/img/minilogo.png">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="优标">
	<meta http-equiv="description" content="优标">
    <link href="<%=basePath %>portal/css/page.css" type="text/css" rel="stylesheet">
    <link href="<%=basePath %>portal/css/main.css" type="text/css" rel="stylesheet">
    <title>个人中心</title>
</head>
<body>

<%@include file="p_head.jsp"%>

<div class="NCContent">
    <div class="NCNewsHead">
        <div class="MainPage">
            <div class="NCMain">
                <h2 class="NCHeadWord">个人中心 / Personal Center </h2>
            </div>
        </div>
    </div>
    <div class="NCNewsList">
        <div class="MainPage">
            <div class="NCMain">
                <div class="NCNewsListContent">
                    <div class="PCContentHead1"></div>
                    <div class="PCContentBody1">
                        <%@include file="p_left.jsp"%>
                        <div class="PCContentMain">
                            <div class="PCPerInfoContent PCPerInfoMarginfix">
                                <div class="PCPerInfoBox">

                                    <span class="PCPerInfoTitle">头像：</span>
                                    <span class="PCPerInfo"><!--上传后的图片显示在这里--><div class="PCPerInfoUserIconImg"><img
                                          class="PCPerInfoUserIcon" 
                                    	  src="<c:if test="${not empty headImgURLFileName}"><%=basePath %>${headImgURLFileName}</c:if>
                                    	  <c:if test="${empty headImgURLFileName}"><%=basePath %>file/img/morentouxiang.jpg</c:if>"/><br/>
                                    </div></span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">用户名：</span>
                                    <span class="PCPerInfo">${nickName}</span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">性别：</span>
                                    <span class="PCPerInfo"><c:if test="${sex==1}">男</c:if>
                                    <c:if test="${sex==0}">女</c:if></span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">生日：</span>
                                    <span class="PCPerInfo"><fmt:formatDate value="${birthday}" 
                                    type="date" dateStyle="long"/></span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">手机号：</span>
                                    <span class="PCPerInfo">${phone}</span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">单位名称：</span>
                                    <span class="PCPerInfo">${compName}</span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">地址：</span>
                                    <span class="PCPerInfo">${address}</span>
                                </div>
                                <div class="PCPerInfoBox">
                                    <span class="PCPerInfoTitle">邮箱：</span>
                                    <span class="PCPerInfo">${email}</span>
                                </div>

                            </div>
                            <div style="clear:both"></div>
                        </div>
                        <div class="QCListBottom">
                            <span class="BtnCss QCCSubmitBtn PCPerInfoBtn">编辑个人信息</span>
                        </div>
                    </div>
                    <div class="PCContentFoot1"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<%@include file="p_foot.jsp"%>

</body>
<script src="<%=basePath %>portal/js/res/jquery-1.4.2.min.js"></script>
<script src="<%=basePath %>portal/js/res/jquery.myPagination.js"></script>
<script src="<%=basePath %>portal/js/res/responsiveslides.min.js"></script>
<script src="<%=basePath %>portal/js/page/base.js"></script>
<script>
	$(".PCPerInfoBtn").click(function () {
		location.href = "<%=basePath %>account_showEditAccount.action";
	})
</script>
</html>